The telecoms , which are facing about 40 pending lawsuits , believe they are protected by a separate law that says companies that give communications data to the government cannot be sued for doing so if they were obeying a warrant -- or a certification from the attorney general that a warrant was not needed -- and all federal statutes were being obeyed .