(a) As used in this section, the following terms have the following meanings:

(1) The terms “electronic communication services” and “remote computing services” shall be construed in accordance with the Electronic Communications Privacy Act of 1986 in Chapter 121 (commencing with Section 2701) of Part I of Title 18 of the United States Code. This section does not apply to corporations that do not provide those services to the general public.

Terms Used In California Penal Code 1524.2

  • Affidavit: A written statement of facts confirmed by the oath of the party making it, before a notary or officer having authority to administer oaths.
  • Corporation: A legal entity owned by the holders of shares of stock that have been issued, and that can own, receive, and transfer property, and carry on business in its own name.
  • Evidence: Information presented in testimony or in documents that is used to persuade the fact finder (judge or jury) to decide the case for one side or the other.
  • magistrate: signifies any one of the officers mentioned in Section 808. See California Penal Code 7
  • peace officer: signify any one of the officers mentioned in Chapter 4. See California Penal Code 7
  • person: includes a corporation as well as a natural person. See California Penal Code 7
  • Service of process: The service of writs or summonses to the appropriate party.
  • state: when applied to the different parts of the United States, includes the District of Columbia and the territories, and the words "United States" may include the district and territories. See California Penal Code 7
  • Trial: A hearing that takes place when the defendant pleads "not guilty" and witnesses are required to come to court to give evidence.

(2) An “adverse result” occurs when notification of the existence of a search warrant results in:

(A) Danger to the life or physical safety of an individual.

(B) A flight from prosecution.

(C) The destruction of or tampering with evidence.

(D) The intimidation of potential witnesses.

(E) Serious jeopardy to an investigation or undue delay of a trial.

(3) “Applicant” refers to the peace officer to whom a search warrant is issued pursuant to subdivision (a) of Section 1528.

(4) “California corporation” refers to any corporation or other entity that is subject to § 102 of the Corporations Code, excluding foreign corporations.

(5) “Foreign corporation” refers to any corporation that is qualified to do business in this state pursuant to § 2105 of the Corporations Code.

(6) “Properly served” means that a search warrant has been delivered by hand, or in a manner reasonably allowing for proof of delivery if delivered by United States mail, overnight delivery service, or facsimile to a person or entity listed in § 2110 of the Corporations Code, or any other means specified by the recipient of the search warrant, including email or submission via an internet web portal that the recipient has designated for the purpose of service of process.

(b) The following provisions apply to any search warrant issued pursuant to this chapter allowing a search for records that are in the actual or constructive possession of a foreign corporation that provides electronic communication services or remote computing services to the general public, where those records would reveal the identity of the customers using those services, data stored by, or on behalf of, the customer, the customer’s usage of those services, the recipient or destination of communications sent to or from those customers, or the content of those communications.

(1) When properly served with a search warrant issued by the California court, a foreign corporation subject to this section shall provide to the applicant, all records sought pursuant to that warrant within five business days of receipt, including those records maintained or located outside this state.

(2) If the applicant makes a showing and the magistrate finds that failure to produce records within less than five business days would cause an adverse result, the warrant may require production of records within less than five business days. A court may reasonably extend the time required for production of the records upon finding that the foreign corporation has shown good cause for that extension and that an extension of time would not cause an adverse result.

(3) A foreign corporation seeking to quash the warrant must seek relief from the court that issued the warrant within the time required for production of records pursuant to this section. The issuing court shall hear and decide that motion no later than five court days after the motion is filed.

(4) The foreign corporation shall verify the authenticity of records that it produces by providing an affidavit that complies with the requirements set forth in § 1561 of the Evidence Code. Those records shall be admissible in evidence as set forth in § 1562 of the Evidence Code.

(c) (1) A California corporation that provides electronic communication services or remote computing services to the general public, when served with a warrant issued by another state to produce records that would reveal the identity of the customers using those services, data stored by, or on behalf of, the customer, the customer’s usage of those services, the recipient or destination of communications sent to or from those customers, or the content of those communications, shall produce those records as if that warrant had been issued by a California court, but shall not produce records when the corporation knows or should know that the warrant relates to an investigation into, or enforcement of, a prohibited violation, as defined in Section 629.51.

(2) A California corporation shall not comply with subdivision (c) unless the warrant includes, or is accompanied by, an attestation that the evidence sought is not related to an investigation into, or enforcement of, a prohibited violation, as defined in Section 629.51.

(3) A California corporation served with a warrant described in paragraph (1) is entitled to rely on the representations made in an attestation described in paragraph (2) in determining whether the warrant relates to an investigation into, or enforcement of, a prohibited violation, as defined in Section 629.51.

(d) A cause of action shall not lie against any foreign or California corporation subject to this section, its officers, employees, agents, or other specified persons for providing records, information, facilities, or assistance in accordance with the terms of a warrant issued pursuant to this chapter.

(Amended by Stats. 2022, Ch. 627, Sec. 8. (AB 1242) Effective September 27, 2022.)