(a) A transportation network company or delivery network company may disclose a passenger's or delivery customer's personal identifying information to a third party only if:
(1) the passenger or delivery customer consents;
(2) the disclosure is required by a legal obligation; or
(3) the disclosure is required to:
(A) protect or defend the terms of use of the transportation network company or delivery network company service; or
(B) investigate a violation of those terms.
(b) Notwithstanding Subsection (a), a transportation network company or delivery network company may share a passenger's or delivery customer's name with a driver or delivery person accessing the company's digital network to facilitate:
(1) identification of the passenger or delivery customer by the driver or delivery person; or
(2) communication between the passenger or delivery customer and the driver or delivery person.