; (B) in a manner that violates a service agreement between a provider of an electronic communication service to the public or a provider of a remote computing service and customers or subscribers of that provider; (C) in a manner that is inconsistent with the privacy policy of a provider described in subparagraph (B), if applicable; (D) by deceiving a person whose information was obtained; (E) through the unauthorized access of an electronic device or online account; (F) in violation of a contract, court settlement, or other binding legal agreement; or (G) from unlawful or unconstitutional practices by any government official or entity. (7) Investigative or law enforcement officer The term investigative or law enforcement officer means— (A) any officer of a State or a political subdivision thereof, or of the United States, who is empowered by law to conduct investigations of or to make arrests for civil or criminal offenses or violations of Federal or State law and any attorney authorized by law to prosecute or participate in the prosecution of such offenses