WASHINGTON — The U.S. government calls it a “vicious guard dog” that hurts national security. Apple says it’s critical to protecting consumer privacy against increasingly sophisticated hackers. As the debate over built-in iPhone encryption has deadlocked in the courts, law enforcement and the world’s second-largest cellphone maker agreed on one point Tuesday: It’s now up to Congress to set boundaries in a long-simmering fight over who can legally access your digital life. “We’re asking Apple to take the vicious guard dog away and let us pick the lock,” FBI Director James Comey told a House judiciary panel Tuesday, referring to a locked iPhone tied to the deadly December shooting in San Bernardino, California. “The FBI is asking Apple to weaken the security of our products,” Apple general counsel Bruce Sewell countered later that afternoon. Tuesday’s hearing shifted attention from the courts — where judges in the last month have issued significant but conflicting opinions — to Congress, where both sides say the broader policy debate belongs. It also provided an extraordinary public forum for the Obama administration and Apple Inc.