The bill would mark a significant rewrite of Section 702 of the Foreign Intelligence Surveillance Act, which authorizes the intelligence community to collect email and other electronic communications of non-Americans living abroad.