,i #aaith ,,congress #b;d ,session ,h4 ,r4 #ghaf ,,in ,,the ,,house ,,of ,,representatives ,march #e1 #bjbf,mr4 ,biggs of ,arizona 7for himself1 ,mr4 ,crane1 and ,mr4 ,clyde7 introduced the following bill2 which was referred to the ,committee on the ,judiciary1 and in addition to the ,permanent ,select ,committee on ,intelligence1 for a period to be subsequently determined by the ,speaker1 in each case for consideration of such provisions as fall within the jurisdiction of the committee concerned ,a ,,bill ,to amend the ,foreign ,intelligence ,surveillance ,act of #aigh to implement reforms1 to amend title #ah1 ,united ,states ,code1 to prevent law enforcement and intelligence agencies from obtaining certain commercially available information1 and for other purposes4 #a4 ,short title2 table of contents 7a7 ,short title ,this ,act may be cited as the ,protect ,liberty and ,end ,warrantless ,surveillance ,act of #bjbf4 7b7 ,table of contents ,the table of contents for this ,act is as follows3 ,sec4 #a4 ,short title2 table of contents4,sec4 #b4 ,amendments to the ,foreign ,intelligence ,surveillance ,act of #aigh4,title ,i--,,fisa ,reform,sec4 #aja4 ,prohibition on warrantless queries for the communications of ,united ,states persons4,sec4 #ajb4 ,sunset of changes to definition of electronic communication service provider4,sec4 #ajc4 ,limitation on directives under ,foreign ,intelligence ,surveillance ,act of #aigh relating to certain electronic communication service providers4,sec4 #ajd4 ,use of amici curiae in ,foreign ,intelligence ,surveillance ,court proceedings4,sec4 #aje4 ,extension of ,,fisa title ,,vii authorities4,title ,,ii--,protection of records held by data brokers,sec4 #bja4 ,short title4,sec4 #bjb4 ,protection of records held by data brokers4,sec4 #bjc4 ,required disclosure4,sec4 #bjd4 ,intermediary service providers4,sec4 #bje4 ,protections for demands for data held by interactive computing services4,sec4 #bjf4 ,limits on surveillance conducted for foreign intelligence purposes other than under the ,foreign ,intelligence ,surveillance ,act of #aigh4,sec4 #bjg4 ,limit on civil immunity for providing information1 facilities1 or technical assistance to the ,government absent a court order4 #b4 ,amendments to the ,foreign ,intelligence ,surveillance ,act of #aigh 7a7 ,references to ,foreign ,intelligence ,surveillance ,act of #aigh ,except as otherwise expressly provided1 whenever in this ,act an amendment or repeal is expressed in terms of an amendment to1 or a repeal of1 a section or other provision1 the reference shall be considered to be made to a section or other provision of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq474 7b7 ,effect of ,certain ,amendments on ,conforming ,changes to ,tables of ,contents ,when an amendment made by this ,act adds a section or larger organizational unit to the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq471 repeals or transfers a section or larger organizational unit in such ,act1 or amends the designation or heading of a section or larger organizational unit in such ,act1 that amendment also shall have the effect of amending the table of contents in such ,act to alter the table to conform to the changes made by the amendment4 ,i ,,fisa ,reform #aja4 ,prohibition on warrantless queries for the communications of ,united ,states persons 7a7 ,prohibition on warrantless queries 7#a7 ,prohibition ,section #gjb7;f7 7#ej ,u4,s4,c4 #ahha;a7f77 is amended by inserting after paragraph 7#a7 the following new paragraph 7#b73 7#b7 ,prohibition on warrantless queries for the communications and other information of ,united ,states persons 7,a7 ,in general ,except as provided in subparagraphs 7,b7 and 7,c71 no officer or employee of the ,united ,states may conduct a covered query of information acquired under this section in an effort to find the contents of communications or information of or about #a or more ,united ,states persons4 7,b7 ,exceptions for concurrent authorization1 consent1 emergency situations1 and certain defensive cybersecurity queries 7i7 ,in general ,subparagraph 7,a7 shall not apply to a query related to a ,united ,states person if-- 7,i7 such person is the subject of an order or emergency authorization authorizing electronic surveillance under section #aje or a physical search under section #cjd1 or a warrant issued pursuant to the ,federal ,rules of ,criminal ,procedure by a court of competent jurisdiction authorizing the conduct of the query2 7,,ii7 the officer or employee carrying out the query has a reasonable belief that-- 7aa7 an emergency exists involving an imminent threat of death or serious bodily harm2 and 7bb7 in order to prevent or mitigate this threat1 the query must be conducted before authorization pursuant to subclause 7,i7 can1 with due diligence1 be obtained2 7,,iii7 such person or1 if such person is incapable of providing consent1 a third party legally authorized to consent on behalf of such person1 has provided consent to the query on a case-by-case basis2 or 7,,iv7 7aa7 the query uses a known cybersecurity threat signature as a query term2 7bb7 the query is conducted1 and the results of the query are used1 for the sole purpose of identifying targeted recipients of malicious software and preventing or mitigating harm from such malicious software2 and 7cc7 no additional contents of communications retrieved as a result of the query are accessed or reviewed4 7ii7 ,limitations 7,i7 ,use in subsequent proceedings and investigations ,no information retrieved pursuant to a query authorized by clause 7i77,,ii7 or information derived from such query may be used1 received in evidence1 or otherwise disseminated in any investigation1 trial1 hearing1 or other proceeding in or before any court1 grand jury1 department1 office1 agency1 regulatory body1 legislative committee1 or other authority of the ,united ,states1 a ,state1 or political subdivision thereof1 except in proceedings or investigations that arise from the threat that prompted the query4 7,,ii7 ,assessment of compliance ,not less frequently than annually1 the ,attorney ,general shall submit to the congressional intelligence committees and the ,committees on the ,judiciary of the ,senate and the ,house of ,representatives an assessment of the compliance with the requirements under subclause 7,i74 7iii7 ,reporting of use of certain exceptions 7,i7 ,,fisc ,the ,foreign ,intelligence ,surveillance ,court shall be provided a description of each query that is conducted pursuant to an exception described in subclause 7,,ii7 or 7,,iv7 of clause 7i7 by not later than #ij days after the date on which the query is conducted4 7,,ii7 ,congress ,the congressional intelligence committees and the ,committees on the ,judiciary of the ,house of ,representatives and of the ,senate shall be provided a description of each query that is conducted pursuant to an exception described in subclause 7,,ii7 of clause 7i7 by not later than #ij days after the date on which the query is conducted4 7,c7 ,matters relating to emergency queries 7i7 ,treatment of denials ,in the event that a query for the contents of communications or information of or about #a or more ,united ,states persons is conducted pursuant to an emergency authorization described in subparagraph 7,b77i77,i7 and the application for such emergency authorization is denied1 or in any other case in which the query has been conducted and no order is issued approving the query-- 7,i7 no information obtained or evidence derived from such query may be used1 received in evidence1 or otherwise disseminated in any investigation1 trial1 hearing1 or other proceeding in or before any court1 grand jury1 department1 office1 agency1 regulatory body1 legislative committee1 or other authority of the ,united ,states1 a ,state1 or political subdivision thereof2 and 7,,ii7 no information concerning any ,united ,states person acquired from such query may subsequently be used or disclosed in any other manner without the consent of such person1 except with the approval of the ,attorney ,general if the information indicates a threat of death or serious bodily harm to any person4 7ii7 ,assessment of compliance ,not less frequently than annually1 the ,attorney ,general shall submit to the congressional intelligence committees and the ,committees on the ,judiciary of the ,senate and the ,house of ,representatives an assessment of the compliance with the requirements under subclause 7,i74 4 7#b7 ,definitions ,section #gjb7;f7 7#ej ,u4,s4,c4 #ahha;a7f77 is amended by striking paragraph 7#e77;,b7 and inserting the following3 7,b7 ,the term query-- 7i7 means the use of any technique1 whether manual or automated1 to detect or retrieve information obtained through acquisitions authorized under subsection 7a7 from within a system1 collection1 or assortment of information1 or a subset thereof2 and 7ii7 does not include the manual observation of retrieved information4 7,c7 7i7 ,the term covered query means a query that-- 7,i7 is conducted using #a or more terms associated with #a or more covered persons1 including personally identifiable information2 7,,ii7 is conducted in whole or in part for the purpose of detecting or retrieving information of1 or concerning1 #a or more covered persons2 or 7,,iii7 is conducted with specific reason to believe the query will detect or retrieve information of1 or concerning1 #a or more covered persons4 7ii7 ,whether a query is a covered query shall be determined without regard to whether the information subject to the query has already been detected or retrieved using a method other than a query described in clause 7i74 7,d7 ,the term covered person means a ,united ,states person4 4 7#c7 ,conforming amendments ,section #gjb7;f7 7#ej ,u4,s4,c4 #ahha;a7f77 is further amended as follows3 7,a7 ,in paragraph 7#c71 by striking subparagraph 7,a74 7,b7 ,by redesignating the second paragraph 7#b7 7relating to ,prohibition on conduct of queries that are solely designed to find and extract evidence of a crime7 as subparagraph 7,a7 7and redesignating the subordinate provisions accordingly7 and transferring such subparagraph so as to appear in paragraph 7#c7 before subparagraph 7,b7 of such paragraph4 7,c7 ,in paragraph 7#c77;,b77ii71 as so redesignated1 by striking under subparagraph 7,a7 and inserting under clause 7i74 7b7 ,metadata2 datasets ,section #gjb7;f7 7#ej ,u4,s4,c4 #ahha;a7f77 is further amended-- 7#a7 by redesignating paragraph 7#e7 as paragraph 7#h7 and moving such paragraph so as to appear at the end2 7#b7 by redesignating paragraph 7#f7 as paragraph 7#e72 and 7#c7 by inserting before paragraph 7#h71 as so redesignated1 the following new paragraphs3 7#f7 ,prohibition on results of metadata query as a basis for access to communications and other protected information ,if a query of information acquired under this section is conducted in an effort to find communications metadata of #a or more ,united ,states persons the results of the query shall not be used as a basis for reviewing communications or information a query for which is otherwise prohibited under this section4 7#g7 ,federated datasets ,the prohibitions and requirements in this section shall apply to queries of federated and mixed datasets that include information acquired under this section1 unless a mechanism exists to limit the query to information not acquired under this section4 4 #ajb4 ,sunset of changes to definition of electronic communication service provider ,effective on ,december #ca1 #bjbf1 the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq47 is amended-- 7#a7 in section #gja7;b77#d7 7#ej ,u4,s4,c4 #ahha7;b77#d77-- 7,a7 in subparagraph 7,d71 by adding or at the end2 7,b7 by striking subparagraph 7,e72 7,c7 by redesignating subparagraph 7,f7 as subparagraph 7,e72 and 7,d7 in subparagraph 7,e71 as so redesignated-- 7i7 by striking custodian12 and 7ii7 by striking 7,d71 or 7,e7 and inserting or 7,d72 and 7#b7 in section #hja7f7 7#ej ,u4,s4,c4 #ahhe7f77-- 7,a7 by striking subparagraph 7,e72 7,b7 by redesignating subparagraphs 7,f7 and 7,g7 as subparagraphs 7,e7 and 7,f71 respectively2 7,c7 in subparagraph 7,e71 as so redesignated1 by adding or at the end2 and 7,d7 in subparagraph 7,f71 as so redesignated-- 7i7 by striking custodian12 and 7ii7 by striking 7,e71 or 7,f7 and inserting or 7,e74 #ajc4 ,limitation on directives under ,foreign ,intelligence ,surveillance ,act of #aigh relating to certain electronic communication service providers 7a7 ,in general ,section #gjb7;i7 7#ej ,u4,s4,c4 #ahha;a7i77 is amended by adding at the end the following3 7#g7 ,limitation relating to certain electronic communication service providers 7,a7 ,definitions ,in this paragraph3 7i7 ,appropriate committees of ,congress ,the term appropriate committees of ,congress means-- 7,i7 the congressional intelligence committees2 7,,ii7 the ,committee on the ,judiciary of the ,senate2 and 7,,iii7 the ,committee on the ,judiciary of the ,house of ,representatives4 7ii7 ,covered electronic communication service provider 7,i7 ,in general ,subject to subclause 7,,ii71 the term covered electronic communication service provider means-- 7aa7 a service provider described in section #gja7;b77#d77;,e72 7bb7 a custodian of an entity as defined in section #gja7;b77#d77;,f72 or 7cc7 an officer1 employee1 or agent of a service provider described in section #gja7;b77#d77;,e74 7,,ii7 ,exclusion ,the term covered electronic communication service provider does not include-- 7aa7 an electronic communication service provider described in subparagraph 7,a71 7,b71 7,c71 or 7,d7 of section #gja7;b77#d72 or 7bb7 an officer1 employee1 or agent of an electronic communication service provider described in subparagraph 7,a71 7,b71 7,c71 or 7,d7 of section #gja7;b77#d71 to the extent that the electronic communication service provider is providing the ,united ,states ,government with information1 facilities1 or assistance pursuant to such subparagraphs4 7iii7 ,covered opinions ,the term covered opinions means the opinions of the ,foreign ,intelligence ,surveillance ,court and the ,foreign ,intelligence ,surveillance ,court of ,review authorized for public release on ,august #bc1 #bjbc 7,opinion and ,order1 ,in re ,petition to ,set ,aside or ,modify ,directive ,issued to ,,redacted1 ,no4 ,,redacted1 7,,fisa ,ct4 ,,redacted #bjbb71 7,contreras ,j472 ,opinion1 ,in re ,petition to ,set ,aside or ,modify ,directive ,issued to ,,redacted1 ,no4 ,,redacted1 7,,fisa ,ct4 ,rev4 ,,redacted #bjbc71 7,sentelle1 ,j42 ,higginson1 ,j42 ,miller ,j4774 7,b7 ,limitation ,a directive may not be issued under paragraph 7#a7 to a covered electronic communication service provider unless the covered electronic communication service provider is a provider of the type of service at issue in the covered opinions4 7,c7 ,declassification review required 7i7 ,in general ,not later than #ahj days after the date of enactment of this paragraph1 the ,director of ,national ,intelligence1 in consultation with the ,attorney ,general1 shall complete a declassification review in accordance with section #c of ,executive ,order #acebf 7#ej ,u4,s4,c4 #cafa note2 relating to classified national security information71 or any successor order 7in this subparagraph referred to as ,executive ,order #acebf7 and1 consistent with that review1 make publicly available to the greatest extent practicable the type of service provider and services at issue in the covered opinions4 7ii7 ,specific inquiry ,in conducting the review required under clause 7i71 the ,director of ,national ,intelligence and the ,attorney ,general shall determine-- 7,i7 whether the information described in clause 7i7 continues to meet the requirements for classification set forth in ,executive ,order #acebf2 and 7,,ii7 if the information described in clause 7i7 continues to meet the requirements for classification set forth in ,executive ,order #acebf1 whether the information should nonetheless be declassified pursuant to section #c4a7;d7 of ,executive ,order #acebf4 7iii7 ,factors ,in making a determination under subclause 7,,ii7 of clause 7ii71 the ,director of ,national ,intelligence and the ,attorney ,general shall consider-- 7,i7 the public interest served by ensuring that laws are public and transparent2 and 7,,ii7 the fact that the type of service provider or services at issue in the covered opinions have been the subject of public disclosures4 7,d7 ,requirements for directives to covered electronic communication service providers 7i7 ,in general ,subject to clause 7ii71 any directive issued under paragraph 7#a7 on or after the date of the enactment of this paragraph to a covered electronic communication service provider that is not prohibited by subparagraph 7,b7 of this paragraph shall include a summary description of the services at issue in the covered opinions4 7ii7 ,duplicate summaries not required ,a directive need not include a summary description of the services at issue in the covered opinions if such summary was included in a prior directive issued to the covered electronic communication service provider and the summary has not materially changed4 7,e7 ,foreign ,intelligence ,surveillance ,court notification and review 7i7 ,notification 7,i7 ,in general ,subject to subclause 7,,ii71 on or after the date of the enactment of this paragraph1 each time the ,attorney ,general and the ,director of ,national ,intelligence serve a directive under paragraph 7#a7 to a covered electronic communication service provider that is not prohibited by subparagraph 7,b7 and each time the ,attorney ,general and the ,director materially change a directive under paragraph 7#a7 served on a covered electronic communication service provider that is not prohibited by subparagraph 7,b71 the ,attorney ,general shall provide the directive to the ,foreign ,intelligence ,surveillance ,court on or before the date that is #g days after the date on which the ,attorney ,general and the ,director served the directive1 along with a description of the covered electronic communication service provider to whom the directive is issued and the services at issue4 7,,ii7 ,duplication not required ,the ,attorney ,general does not need to provide a directive or description to the ,foreign ,intelligence ,surveillance ,court under subclause 7,i7 if a directive and description concerning the covered electronic communication service provider was previously provided to the ,court and the directive or description has not materially changed4 7ii7 ,additional information ,as soon as feasible and not later than the initiation of collection1 the ,attorney ,general shall1 for each directive described in clause 7i71 provide the ,foreign ,intelligence ,surveillance ,court a summary description of the type of equipment to be accessed1 the nature of the access1 and the form of assistance required pursuant to the directive4 7iii7 ,review 7,i7 ,in general ,the ,foreign ,intelligence ,surveillance ,court may review a directive received by the ,court under clause 7i7 to determine whether the directive is consistent with subparagraph 7,b7 and affirm1 modify1 or set aside the directive4 7,,ii7 ,notice of intent to review ,not later than #g days after the date on which the ,court receives information under clause 7ii7 with respect to a directive1 the ,court shall provide notice to the ,attorney ,general and cleared counsel for the covered electronic communication service provider indicating whether the ,court intends to undertake a review under subclause 7,i7 of this clause4 7,,iii7 ,completion of reviews ,in a case in which the ,court provides notice under subclause 7,,ii7 indicating that the ,court intends to review a directive under subclause 7,i71 the ,court shall1 not later than #cj days after the date on which the ,court provides notice under subclause 7,,ii7 with respect to the directive1 complete the review4 7,f7 ,congressional oversight 7i7 ,notification 7,i7 ,in general ,subject to subclause 7,,ii71 on or after the date of the enactment of this paragraph1 each time the ,attorney ,general and the ,director of ,national ,intelligence serve a directive under paragraph 7#a7 on a covered electronic communication service provider that is not prohibited by subparagraph 7,b7 and each time the ,attorney ,general and the ,director materially change a directive under paragraph 7#a7 served on a covered electronic communication service provider that is not prohibited by subparagraph 7,b71 the ,attorney ,general shall submit to the appropriate committees of ,congress the directive on or before the date that is #g days after the date on which the ,attorney ,general and the ,director serve the directive1 along with a description of the covered electronic communication service provider to whom the directive is issued and the services at issue4 7,,ii7 ,duplication not required ,the ,attorney ,general does not need to submit a directive or description to the appropriate committees of ,congress under subclause 7,i7 if a directive and description concerning the covered electronic communication service provider was previously submitted to the appropriate committees of ,congress and the directive or description has not materially changed4 7ii7 ,additional information ,as soon as feasible and not later than the initiation of collection1 the ,attorney ,general shall1 for each directive described in clause 7i71 provide the appropriate committees of ,congress a summary description of the type of equipment to be accessed1 the nature of the access1 and the form of assistance required pursuant to the directive4 7iii7 ,reporting 7,i7 ,quarterly reports ,not later than #ij days after the date of the enactment of this paragraph and not less frequently than once each quarter thereafter1 the ,attorney ,general shall submit to the appropriate committees of ,congress a report on the number of directives served1 during the period covered by the report1 under paragraph 7#a7 to a covered electronic communication service provider and the number of directives provided during the same period to the ,foreign ,intelligence ,surveillance ,court under subparagraph 7,e77i74 7,,ii7 ,form of reports ,each report submitted pursuant to subclause 7,i7 shall be submitted in unclassified form1 but may include a classified annex4 7,,iii7 ,submission of court opinions ,not later than #de days after the date on which the ,foreign ,intelligence ,surveillance ,court or the ,foreign ,intelligence ,surveillance ,court of ,review issues an opinion relating to a directive issued to a covered electronic communication service provider under paragraph 7#a71 the ,attorney ,general shall submit to the appropriate committees of ,congress a copy of the opinion4 4 7b7 ,sunset ,effective on ,december #ca1 #bjbf1 section #gjb7;i7 of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahha;a7i771 as amended by this section1 is amended by striking paragraph 7#g74 #ajd4 ,use of amici curiae in ,foreign ,intelligence ,surveillance ,court proceedings 7a7 ,expansion of appointment authority 7#a7 ,in general ,section #ajc7;i77#b77;,a7 7#ej ,u4,s4,c4 #ahjc7;i77#b77;,a77 is amended by striking clause 7i7 and inserting the following3 7i7 shall1 unless the court issues a finding that appointment is not appropriate1 appoint #a or more individuals who have been designated under paragraph 7#a71 not fewer than #a of whom possesses privacy and civil liberties expertise1 unless the court finds that such a qualification is inappropriate1 to serve as amicus curiae to assist the court in the consideration of any application or motion for an order or review that1 in the opinion of the court-- 7,i7 presents a novel or significant interpretation of the law2 7,,ii7 presents significant concerns with respect to the activities of a ,united ,states person that are protected by the first amendment to the ,constitution of the ,united ,states2 7,,iii7 presents or involves a sensitive investigative matter2 7,,iv7 presents a request for approval of a new program1 a new technology1 or a new use of existing technology2 7,v7 presents a request for reauthorization of programmatic surveillance2 7,,vi7 otherwise presents novel or significant civil liberties issues2 or 7,,vii7 otherwise involves the activities of a ,united ,states person2 and 4 7#b7 ,definition of sensitive investigative matter ,section #ajc7;i7 7#ej ,u4,s4,c4 #ahjc7;i77 is amended by adding at the end the following3 7#ab7 ,definition ,in this subsection1 the term sensitive investigative matter means-- 7,a7 an investigative matter involving the activities of-- 7i7 a domestic public official or political candidate1 or an individual serving on the staff of such an official or candidate2 7ii7 a domestic religious or political organization1 or a known or suspected ,united ,states person prominent in such an organization2 or 7iii7 the domestic news media2 or 7,b7 any other investigative matter involving a domestic entity or a known or suspected ,united ,states person that1 in the judgment of the applicable court established under subsection 7a7 or 7b71 is as sensitive as an investigative matter described in subparagraph 7,a74 4 7b7 ,authority ,to seek review ,section #ajc7;i7 7#ej ,u4,s4,c4 #ahjc7;i77 is further amended-- 7#a7 in paragraph 7#d7-- 7,a7 in the paragraph heading1 by inserting 2 authority after ,duties2 7,b7 in the matter preceding subparagraph 7,a71 by striking shall2 7,c7 in subparagraph 7,a7-- 7i7 by inserting shall before be limited2 and 7ii7 by striking 2 and and inserting a semicolon2 7,d7 in subparagraph 7,b7-- 7i7 in the matter preceding clause 7i71 by inserting shall before provide2 7ii7 in clause 7i71 by inserting before the semicolon at the end the following3 1 including legal arguments regarding any privacy or civil liberties interest of any ,united ,states person that would be significantly impacted by the application or motion2 and 7iii7 in clause 7iii71 by striking the period at the end and inserting 2 and2 and 7,e7 by adding at the end the following new subparagraph3 7,c7 may seek leave to raise any novel or significant privacy or civil liberties issue relevant to the application or motion or other issue directly impacting the legality of the proposed electronic surveillance with the court1 regardless of whether the court has requested assistance on that issue under subparagraph 7,a74 2 7#b7 by redesignating paragraphs 7#g7 through 7#aa7 as paragraphs 7#h7 through 7#ab71 respectively2 and 7#c7 by inserting after paragraph 7#f7 the following3 7#g7 ,authority to seek review of decisions 7,a7 ,,fisa court decisions 7i7 ,petition ,following issuance of an order under this ,act by the ,foreign ,intelligence ,surveillance ,court1 an amicus curiae appointed under paragraph 7#b7 may petition the ,foreign ,intelligence ,surveillance ,court to certify for review to the ,foreign ,intelligence ,surveillance ,court of ,review a question of law pursuant to subsection 7j74 7ii7 ,written statement of reasons ,if the ,foreign ,intelligence ,surveillance ,court denies a petition under this subparagraph1 the ,foreign ,intelligence ,surveillance ,court shall provide for the record a written statement of the reasons for the denial4 7iii7 ,appointment ,upon certification of any question of law pursuant to this subparagraph1 the ,court of ,review shall appoint the amicus curiae to assist the ,court of ,review in its consideration of the certified question1 unless the ,court of ,review issues a finding that such appointment is not appropriate4 7,b7 ,,fisa ,court of ,review decisions ,an amicus curiae appointed under paragraph 7#b7 may petition the ,foreign ,intelligence ,surveillance ,court of ,review to certify for review to the ,supreme ,court of the ,united ,states any question of law pursuant to section #abed7b7 of title #bh1 ,united ,states ,code4 7,c7 ,declassification of referrals ,for purposes of section #fjb1 a petition filed under subparagraph 7,a7 or 7,b7 of this paragraph and all of its content shall be considered a decision1 order1 or opinion issued by the ,foreign ,intelligence ,surveillance ,court or the ,foreign ,intelligence ,surveillance ,court of ,review described in paragraph 7#b7 of section #fjb7;a74 4 7c7 ,access to information 7#a7 ,application and materials ,section #ajc7;i77#f7 7#ej ,u4,s4,c4 #ahjc7;i77#f77 is amended by striking subparagraph 7,a7 and inserting the following3 7,a7 ,right of amicus ,if a court established under subsection 7a7 or 7b7 appoints an amicus curiae under paragraph 7#b71 the amicus curiae-- 7i7 shall have access1 to the extent such information is available to the ,government1 to-- 7,i7 the application1 certification1 petition1 motion1 and other information and supporting materials1 submitted to the ,foreign ,intelligence ,surveillance ,court in connection with the matter in which the amicus curiae has been appointed1 including access to any relevant decision 7including any such decision that is cited by the ,government1 including in such an application72 7,,ii7 an unredacted copy of each relevant decision made by the ,foreign ,intelligence ,surveillance ,court or the ,foreign ,intelligence ,surveillance ,court of ,review in which the court decides a question of law1 without regard to whether the decision is classified2 and 7,,iii7 any other information or materials1 or individuals1 that the court determines are relevant to the duties of the amicus curiae2 and 7ii7 may make a submission to the court requesting access to any other particular materials or information 7or category of materials or information7 that the amicus curiae believes to be relevant to the duties of the amicus curiae4 4 7#b7 ,clarification of access to certain information ,section #ajc7;i77#f7 7#ej ,u4,s4,c4 #ahjc7;i77#f77 is further amended-- 7,a7 in subparagraph 7,b71 by striking may and inserting shall2 and 7,b7 by striking subparagraph 7,c7 and inserting the following3 7,c7 ,classified information ,an amicus curiae designated or appointed by the court shall have access1 to the extent such information is available to the ,government1 to unredacted copies of each relevant opinion1 order1 transcript1 pleading1 or other document of the ,foreign ,intelligence ,surveillance ,court and the ,foreign ,intelligence ,surveillance ,court of ,review1 including1 if the individual is eligible for access to classified information1 any classified documents1 information1 and other materials or proceedings4 4 7d7 ,application ,the amendments made by this section shall take effect on the date of enactment of this ,act and shall apply with respect to proceedings under the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq47 that take place on or after1 or are pending on1 that date4 #aje4 ,extension of ,,fisa title ,,vii authorities 7a7 ,extension of repeal date of title ,,vii ,section #djc7;b7 of the ,,fisa ,amendments ,act of #bjjh 7,public ,law #aaj-bfa7 is amended-- 7#a7 in paragraph 7#a7 7#ej ,u4,s4,c4 #ahha note7 by striking effective two years after and all that follows through the period at the end and inserting effective ,april #bj1 #bjbh1 title ,,vii of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahha et seq47 is repealed42 and 7#b7 in paragraph 7#b7 7#ah ,u4,s4,c4 #beaa note71 in the matter preceding subparagraph 7,a71 by striking ,effective two years after the date of enactment of the ,reforming ,intelligence and ,securing ,america ,act and inserting ,effective ,april #bj1 #bjbh4 7b7 ,extension of transition procedures ,section #djd7;b7 of the ,,fisa ,amendments ,act of #bjjh 7,public ,law #aaj-bfa2 #ej ,u4,s4,c4 #ahja note7 is amended-- 7#a7 in paragraph 7#a7-- 7,a7 in the heading1 by striking two years after the date of enactment of the ,reforming ,intelligence and ,securing ,america ,act and inserting repeal date2 and 7,b7 by striking 1 as amended by section #aja7;a7 and by the ,,fisa ,amendments ,reauthorization ,act of #bjag and the ,reforming ,intelligence and ,securing ,america ,act1 and inserting 7#ej ,u4,s4,c4 #ahha et seq472 and 7#b7 in paragraph 7#b71 by striking 1 as amended by section #aja7;a7 and by the ,,fisa ,amendments ,reauthorization ,act of #bjag and the ,reforming ,intelligence and ,securing ,america ,act1 and inserting 7#ej ,u4,s4,c4 #ahha et seq474 7c7 ,effective date ,the amendments made by this section shall take effect on the earlier of the date of the enactment of this ,act or ,april #bj1 #bjbf4 ,,ii ,protection of records held by data brokers #bja4 ,short title ,this title may be cited as the ,fourth ,amendment ,is ,not ,for ,sale ,act4 #bjb4 ,protection of records held by data brokers ,section #bgjb of title #ah1 ,united ,states ,code1 is amended by adding at the end the following3 7e7 ,prohibition on obtaining in exchange for anything of value certain records and information by law enforcement and intelligence agencies 7#a7 ,definitions ,in this subsection-- 7,a7 the term covered customer or subscriber record means a covered record that is-- 7i7 disclosed to a third party by-- 7,i7 a provider of an electronic communication service to the public or a provider of a remote computing service of which the covered person with respect to the covered record is a subscriber or customer2 or 7,,ii7 an intermediary service provider that delivers1 stores1 or processes communications of such covered person2 7ii7 collected by a third party from an online account of a covered person2 or 7iii7 collected by a third party from or about an electronic device of a covered person2 7,b7 the term covered person means a ,united ,states person2 7,c7 the term covered record means a record or other information that-- 7i7 pertains to a covered person2 and 7ii7 is-- 7,i7 a record or other information described in the matter preceding paragraph 7#a7 of subsection 7c72 7,,ii7 the contents of a communication2 or 7,,iii7 location information2 7,d7 the term electronic device has the meaning given the term computer in section #ajcj7;e72 7,e7 the term illegitimately obtained information means a covered record that-- 7i7 was obtained-- 7,i7 from a provider of an electronic communication service to the public or a provider of a remote computing service in a manner that-- 7aa7 violates the service agreement between the provider and customers or subscribers of the provider2 or 7bb7 is inconsistent with the privacy policy of the provider2 7,,ii7 by deceiving the covered person whose covered record was obtained2 or 7,,iii7 through the unauthorized accessing of an electronic device or online account2 or 7ii7 was-- 7,i7 obtained from a provider of an electronic communication service to the public1 a provider of a remote computing service1 or an intermediary service provider2 and 7,,ii7 collected1 processed1 or shared in violation of a contract relating to the covered record2 7,f7 the term intelligence community has the meaning given that term in section #c of the ,national ,security ,act of #aidg 7#ej ,u4,s4,c4 #cjjc72 7,g7 the term location information means information derived or otherwise calculated from the transmission or reception of a radio signal that reveals the approximate or actual geographic location of a customer1 subscriber1 or device2 7,h7 the term obtain in exchange for anything of value means to obtain by purchasing1 to receive in connection with services being provided for consideration1 or to otherwise obtain in exchange for consideration1 including an access fee1 service fee1 maintenance fee1 or licensing fee2 7,i7 the term online account means an online account with an electronic communication service to the public or remote computing service2 7,j7 the term pertain1 with respect to a person1 means-- 7i7 information that is linked to the identity of a person2 or 7ii7 information-- 7,i7 that has been anonymized to remove links to the identity of a person2 and 7,,ii7 that1 if combined with other information1 could be used to identify a person2 and 7,k7 the term third party means a person who-- 7i7 is not a governmental entity2 and 7ii7 in connection with the collection1 disclosure1 obtaining1 processing1 or sharing of the covered record at issue1 was not acting as-- 7,i7 a provider of an electronic communication service to the public2 or 7,,ii7 a provider of a remote computing service4 7#b7 ,limitation 7,a7 ,in general ,a law enforcement agency of a governmental entity and an element of the intelligence community may not obtain from a third party in exchange for anything of value a covered customer or subscriber record or any illegitimately obtained information4 7,b7 ,indirectly acquired records and information ,the limitation under subparagraph 7,a7 shall apply without regard to whether the third party possessing the covered customer or subscriber record or illegitimately obtained information is the third party that initially obtained or collected1 or is the third party that initially received the disclosure of1 the covered customer or subscriber record or illegitimately obtained information4 7#c7 ,limit on sharing between agencies ,an agency of a governmental entity that is not a law enforcement agency or an element of the intelligence community may not provide to a law enforcement agency of a governmental entity or an element of the intelligence community a covered customer or subscriber record or illegitimately obtained information that was obtained from a third party in exchange for anything of value4 7#d7 ,prohibition on use as evidence ,a covered customer or subscriber record or illegitimately obtained information obtained by or provided to a law enforcement agency of a governmental entity or an element of the intelligence community in violation of paragraph 7#b7 or 7#c71 and any evidence derived therefrom1 may not be received in evidence in any trial1 hearing1 or other proceeding in or before any court1 grand jury1 department1 officer1 agency1 regulatory body1 legislative committee1 or other authority of the ,united ,states1 a ,state1 or a political subdivision thereof4 7#e7 ,minimization procedures 7,a7 ,in general ,the ,attorney ,general shall adopt specific procedures that are reasonably designed to minimize the acquisition and retention1 and prohibit the dissemination1 of information pertaining to a covered person that is acquired in violation of paragraph 7#b7 or 7#c74 7,b7 ,use by agencies ,if a law enforcement agency of a governmental entity or element of the intelligence community acquires information pertaining to a covered person in violation of paragraph 7#b7 or 7#c71 the law enforcement agency of a governmental entity or element of the intelligence community shall minimize the acquisition and retention1 and prohibit the dissemination1 of the information in accordance with the procedures adopted under subparagraph 7,a74 4 #bjc4 ,required disclosure ,section #bgjc of title #ah1 ,united ,states ,code1 is amended by adding at the end the following3 7i7 ,covered customer or subscriber records and illegitimately obtained information 7#a7 ,definitions ,in this subsection1 the terms covered customer or subscriber record1 illegitimately obtained information1 and third party have the meanings given such terms in section #bgjb7;e74 7#b7 ,limitation ,unless a governmental entity obtains an order in accordance with paragraph 7#c71 the governmental entity may not require a third party to disclose a covered customer or subscriber record or any illegitimately obtained information if a court order would be required for the governmental entity to require a provider of remote computing service or a provider of electronic communication service to the public to disclose such a covered customer or subscriber record or illegitimately obtained information that is a record of a customer or subscriber of the provider4 7#c7 ,orders 7,a7 ,in general ,a court may only issue an order requiring a third party to disclose a covered customer or subscriber record or any illegitimately obtained information on the same basis and subject to the same limitations as would apply to a court order to require disclosure by a provider of remote computing service or a provider of electronic communication service to the public of a record of a customer or subscriber of the provider4 7,b7 ,standard ,for purposes of subparagraph 7,a71 a court shall apply the most stringent standard under ,federal statute or the ,constitution of the ,united ,states that would be applicable to a request for a court order to require a comparable disclosure by a provider of remote computing service or a provider of electronic communication service to the public of a record of a customer or subscriber of the provider4 4 #bjd4 ,intermediary service providers 7a7 ,definition ,section #bgaa of title #ah1 ,united ,states ,code1 is amended-- 7#a7 in paragraph 7#c71 by striking and at the end2 7#b7 in paragraph 7#d71 by striking the period at the end and inserting 2 and2 and 7#c7 by adding at the end the following3 7#e7 the term intermediary service provider means an entity or facilities owner or operator that directly or indirectly delivers1 stores1 or processes communications for or on behalf of a provider of electronic communication service to the public or a provider of remote computing service4 4 7b7 ,prohibition ,section #bgjb7;a7 of title #ah1 ,united ,states ,code1 is amended-- 7#a7 in paragraph 7#a71 by striking and at the end2 7#b7 in paragraph 7#b71 by striking and at the end2 7#c7 in paragraph 7#c71 by striking the period at the end and inserting 2 and2 and 7#d7 by adding at the end the following3 7#d7 an intermediary service provider shall not knowingly divulge-- 7,a7 to any person or entity the contents of a communication while in electronic storage by that provider2 or 7,b7 to any governmental entity a record or other information pertaining to a subscriber to or customer of1 a recipient of a communication from a subscriber to or customer of1 or the sender of a communication to a subscriber to or customer of1 the provider of electronic communication service to the public or the provider of remote computing service for1 or on behalf of1 which the intermediary service provider directly or indirectly delivers1 transmits1 stores1 or processes communications4 4 #bje4 ,protections for demands for data held by interactive computing services 7a7 ,definition ,section #bgaa of title #ah1 ,united ,states ,code1 as amended by section #bjd1 is further amended-- 7#a7 in paragraph 7#d71 by striking and at the end2 7#b7 in paragraph 7#e71 by striking the period at the end and inserting a semicolon2 and 7#c7 by adding at the end the following3 7#f7 the term online service provider means a provider of electronic communication service1 a provider of remote computing service1 any information service1 system1 or access software provider that provides or enables computer access by multiple users to a computer server1 including specifically a service or system that provides access to the ,internet and such systems operated or services offered by libraries or educational institutions2 and 4 7b7 ,required disclosure ,section #bgjc of title #ah1 ,united ,states ,code1 as amended by section #bjc1 is further amended-- 7#a7 in subsection 7a71 in the first sentence1 by striking a provider of electronic communication service and inserting an online service provider2 7#b7 in subsection 7c7-- 7,a7 in paragraph 7#a71 in the matter preceding subparagraph 7,a71 by striking a provider of electronic communication service or remote computing service and inserting an online service provider2 and 7,b7 in paragraph 7#b71 in the matter preceding subparagraph 7,a71 by striking ,a provider of electronic communication service or remote computing service and inserting ,an online service provider2 and 7#c7 in subsection 7g71 by striking a provider of electronic communications service or remote computing service and inserting an online service provider4 7c7 ,limitation on voluntary disclosure ,section #bgjb7;a7 of title #ah1 ,united ,states ,code1 as amended by section #bjd1 is further amended-- 7#a7 in paragraph 7#a71 by striking a person or entity providing an electronic communication service to the public and inserting an online service provider2 7#b7 in paragraph 7#b71 by striking a person or entity providing remote computing service to the public and inserting an online service provider2 and 7#c7 in paragraph 7#c71 by striking a provider of remote computing service or electronic communication service to the public and inserting an online service provider4 #bjf4 ,limits on surveillance conducted for foreign intelligence purposes other than under the ,foreign ,intelligence ,surveillance ,act of #aigh 7a7 ,in general ,section #beaa7b77;f7 of title #ah1 ,united ,states ,code1 is amended to read as follows3 7f7 7i7 7,a7 ,nothing contained in this chapter1 chapter #aba or #bjf of this title1 or section #gje of the ,communications ,act of #aicd 7#dg ,u4,s4,c4 #aea et seq47 shall be deemed to affect an acquisition or activity described in clause 7,b7 that is carried out utilizing a means other than electronic surveillance1 as defined in section #aja of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja74 7,b7 ,an acquisition or activity described in this clause is-- 7,i7 an acquisition by the ,united ,states ,government of foreign intelligence information from international or foreign communications that-- 7aa7 is acquired pursuant to express statutory authority2 or 7bb7 only includes information of persons who are not ,united ,states persons and are located outside the ,united ,states2 or 7,,ii7 a foreign intelligence activity involving a foreign electronic communications system that-- 7aa7 is conducted pursuant to express statutory authority2 or 7bb7 only involves the acquisition by the ,united ,states ,government of information of persons who are not ,united ,states persons and are located outside the ,united ,states4 7ii7 ,the procedures in this chapter1 chapter #aba1 and the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq47 shall be the exclusive means by which electronic surveillance1 as defined in section #aja of such ,act1 and the interception of domestic wire1 oral1 and electronic communications may be conducted4 4 7b7 ,exclusive means related to communications records ,the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq47 shall be the exclusive means by which electronic communications transactions records1 call detail records1 or other information from communications of ,united ,states persons or persons inside the ,united ,states are acquired for foreign intelligence purposes inside the ,united ,states or from a person or entity located in the ,united ,states that provides telecommunications1 electronic communication1 or remote computing services4 7c7 ,exclusive means related to location information1 web browsing history1 and internet search history 7#a7 ,definition ,in this subsection1 the term location information has the meaning given that term in subsection 7e7 of section #bgjb of title #ah1 ,united ,states ,code1 as added by section #bjb of this ,act4 7#b7 ,exclusive means ,title ,i and sections #cjc1 #cjd1 #gjb1 #gjc1 #gjd1 and #gje of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq41 #ahbc1 #ahbd1 #ahha;a1 #ahha;b1 #ahha;c1 #ahha;d7 shall be the exclusive means by which location information1 web browsing history1 and internet search history of ,united ,states persons or persons inside the ,united ,states are acquired for foreign intelligence purposes inside the ,united ,states or from a person or entity located in the ,united ,states4 7d7 ,exclusive means related to fourth amendment-,protected information ,title ,i and sections #cjc1 #cjd1 #gjb1 #gjc1 #gjd1 and #gje of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja et seq41 #ahbc1 #ahbd1 #ahha;a1 #ahha;b1 #ahha;c1 #ahha;d7 shall be the exclusive means by which any information1 records1 data1 or tangible things are acquired for foreign intelligence purposes from a person or entity located in the ,united ,states if the compelled production of such information1 records1 data1 or tangible things would require a warrant for law enforcement purposes4 7e7 ,definition ,in this section1 the term ,united ,states person has the meaning given that term in section #aja of the ,foreign ,intelligence ,surveillance ,act of #aigh 7#ej ,u4,s4,c4 #ahja74 #bjg4 ,limit on civil immunity for providing information1 facilities1 or technical assistance to the ,government absent a court order ,section #beaa7b77;a7 of title #ah1 ,united ,states ,code1 is amended-- 7#a7 in subparagraph 7ii71 by striking clause 7,b7 and inserting the following3 7,b7 a certification in writing-- 7,i7 by a person specified in section #beah7g7 or the ,attorney ,general of the ,united ,states2 7,,ii7 that the requirements for an emergency authorization to intercept a wire1 oral1 or electronic communication under section #beah7g7 have been met2 and 7,,iii7 that the specified assistance is required1 2 and 7#b7 by striking subparagraph 7iii7 and inserting the following3 7iii7 ,for assistance provided pursuant to a certification under subparagraph 7ii77,b71 the limitation on causes of action under the last sentence of the matter following subparagraph 7ii77,b7 shall only apply to the extent that the assistance ceased at the earliest of the time the application for a court order was denied1 the time the communication sought was obtained1 or #dh hours after the interception began4 4