; (2) in paragraph (2)(B), by striking and at the end; (3) in paragraph (3), by striking the period at the end and inserting ; and ; and (4) by adding at the end the following: (4) an intermediary or ancillary service provider may not knowingly disclose— (A) to any person or entity the contents of a communication while in electronic storage by that intermediary or ancillary service provider; or (B) to any governmental entity a record or other information pertaining to a subscriber to or customer of, a recipient of a communication from a subscriber to or customer of, or the sender of a communication to a subscriber to or customer of, the online service provider for, or on behalf of, which the intermediary or ancillary service provider directly or indirectly delivers, transmits, stores, or processes communications or any other covered personal data (as defined in subsection (e)). . 511. Modernizing criminal surveillance reports (a) Reports concerning access to customer communications or records (1) In general Section 2703 of title 18, United States Code, as amended by section 509 of this Act, is amended by adding at the end the following: (o) Reports concerning access to customer communications or records (1) In general In January of each year, any judge who has issued an order under this section or a warrant to obtain records described in this section, or who has denied approval of an application under this section during the preceding year, shall report to the Administrative Office of the United States Courts— (A) the fact that the order or warrant was applied for; (B) the type of records sought in the order or warrant; (C) whether the order or warrant was— (i) granted as applied for; (ii) granted as modified; or (iii) denied; (D) the subsection of this section under which the application for the order or warrant was filed; (E) the nature of the offense or criminal investigation that was the basis for the application for the order or warrant