The Senate is expected to decide this week whether to shield from civil lawsuits telecommunications companies that helped the government eavesdrop on Americans.

The Senate is grappling with an update to the 1978 Foreign Intelligence Surveillance Act, the law that dictates when federal agents much obtain court permission before tapping phone and computer lines inside the United States to gather intelligence on foreign threats. It may tap lines without court permission outside the country.