(1) that the applicant is a subscriber or customer of the provider of an electronic communications service or the provider of a remote computing service from which the electronic customer data held in electronic storage for the subscriber or customer has been sought; and
(2) the applicant's reasons for believing that the customer data sought is not relevant to a legitimate law enforcement inquiry or that there has not been substantial compliance with the provisions of this chapter in some other respect.
(b) The subscriber or customer shall give written notice to the applicable service provider of the challenge to the subpoena or court order. The authorized peace officer requesting the subpoena or court order must be served a copy of the filed papers by personal delivery or by registered or certified mail.
(c) The court shall order the authorized peace officer to file a sworn response to the motion filed by the subscriber or customer if the court determines that the subscriber or customer has complied with the requirements of Subsections (a) and (b). On request of the peace officer, the court may permit the response to be filed in camera. The court may conduct any additional proceedings the court considers appropriate if the court is unable to make a determination on the motion on the basis of the parties' initial allegations and response.
(d) The court shall rule on the motion as soon as practicable after the filing of the peace officer's response. The court shall deny the motion if the court finds that the applicant is not the subscriber or customer whose data is the subject of the subpoena or court order or that there is reason to believe that the peace officer's inquiry is legitimate and that the data sought is relevant to that inquiry. The court shall quash the subpoena or vacate the court order if the court finds that the applicant is the subscriber or customer whose data is the subject of the subpoena or court order and that there is not a reason to believe that the data is relevant to a legitimate law enforcement inquiry or that there has not been substantial compliance with the provisions of this chapter.
(e) A court order denying a motion or application under this article is not a final order, and an interlocutory appeal may not be taken from the denial.
Added by Acts 2017, 85th Leg., R.S., Ch. 1058 (H.B. 2931), Sec. 1.02, eff. January 1, 2019.