CA Penal Code § 638.54 (2021)
2021 California Code|Penal Code - PEN|PART 1 - OF CRIMES AND PUNISHMENTS|TITLE 15 - MISCELLANEOUS CRIMES|CHAPTER 1.5 - Invasion of Privacy|Section 638.54.

638.54.  (a) Except as otherwise provided in this section, a government entity that obtains information pursuant to Section 638.52, or obtains information pursuant to oral authorization pursuant to Section 638.53, shall serve upon, or deliver to by registered or first-class mail, electronic mail, or other means reasonably calculated to be effective, the identified targets of the order a notice that informs the recipient that information about the recipient has been compelled or requested and states with reasonable specificity the nature of the government investigation under which the information is sought. The notice shall include a copy of the order or a written statement setting forth facts giving rise to the emergency. The notice shall be provided no later than 30 days after the termination of the period of the order, any extensions, or an emergency request.(b) (1) Prior to the expiration of the 30-day period specified in subdivision (a), the government entity may submit a request, supported by a sworn affidavit, for an order delaying unsealing of the order and notification and prohibiting the person owning or leasing the line to which the pen register or trap and trace device is attached from disclosing the existence of the pen register or trap and trace device or the existence of the investigation to the listed subscriber or any other person. The court shall issue the order if the court determines that there is reason to believe that notification may have an adverse result, but only for the period of time that the court finds there is reason to believe that the notification may have that adverse result, and not to exceed 90 days.(2) The court may grant extensions of the delay of up to 90 days each on the same grounds as provided in paragraph (1).(3) Upon expiration of the period of delay of the notification, the government entity shall serve upon, or deliver to by registered or first-class mail, electronic mail, or other means reasonably calculated to be effective as specified by the court issuing the order authorizing delayed notification, the identified targets of the order or emergency authorization a document that includes the information described in subdivision (a) and a copy of all electronic information obtained or a summary of that information, including, at a minimum, the number and types of records disclosed, the date and time when the earliest and latest records were created, and a statement of the grounds for the court’s determination to grant a delay in notifying the individual. The notice shall be provided no later than three days after the expiration of the period of delay of the notification.(c) If there is no identified target of an order or emergency request at the time of its issuance, the government entity shall submit to the Department of Justice, no later than three days after the termination of the period of the order, any extensions, or an emergency request, all of the information required in subdivision (a). If an order delaying notice is obtained pursuant to subdivision (b), the government entity shall submit to the department, no later than three days after the expiration of the period of delay of the notification, all of the information required in paragraph (3) of subdivision (b). The department shall publish all those reports on its Internet Web site within 90 days of receipt. The department may redact names or other personal identifying information from the reports.(d) For the purposes of this section, “adverse result” has the meaning set forth in subdivision (a) of Section 1546.(Added by Stats. 2016, Ch. 511, Sec. 2. (AB 1924) Effective September 23, 2016.)