By Sharon Bernstein SACRAMENTO, California (Reuters) – The federal government would need a warrant from a judge if it wants the cooperation of California officials in searching residents cellphone and computer records, under a bill making its way through the state legislature. The bill, which passed the state Senate with just one opposing vote on Monday, was introduced in the wake of information leaked by former National Security Agency contractor Edward Snowden showing massive internal surveillance of U.S. citizens by the NSA. It says the government shall not engage in unreasonable search and seizure, said the bills author, Democratic State Senator Ted Lieu, of Torrance. The National Security Agencys massive and indiscriminate collecting of phone data on all Americans, including more than 38 million Californians, is a threat to our liberty and freedom. The California bill is the farthest along of several such measures that have been introduced in eight states, according to Lieus spokesman Jeff Gozzo, including Alaska, Arizona and Oklahoma.