; comity analysis of legal process (a) Required preservation and disclosure of communications and records (1) Amendment Chapter 121 of title 18, United States Code, is amended by adding at the end the following: 2713. Required preservation and disclosure of communications and records A provider of electronic communication service or remote computing service shall comply with the obligations of this chapter to preserve, backup, or disclose the contents of a wire or electronic communication and any record or other information pertaining to a customer or subscriber within such provider’s possession, custody, or control, regardless of whether such communication, record, or other information is located within or outside of the United States. . (2) Table of sections The table of sections for chapter 121 of title 18, United States Code, is amended by inserting after the item relating to section 2712 the following: 2713. Required preservation and disclosure of communications and records. . (b) Comity analysis of legal process seeking contents of wire or electronic communication Section 2703 of title 18, United States Code, is amended by adding at the end the following: (h) Comity analysis and disclosure of information regarding legal process seeking contents of wire or electronic communication (1) Definitions In this subsection— (A) the term qualifying foreign government means a foreign government— (i) with which the United States has an executive agreement that has entered into force under section 2523; and (ii) the laws of which provide to electronic communication service providers and remote computing service providers substantive and procedural opportunities similar to those provided under paragraphs (2) and (5)