Mass. Gen. Laws ch. 159A1/2, § 8
(c) In response to a specific complaint alleging criminal conduct against any transportation network company driver or passenger, a transportation network company shall, upon request and after being served with appropriate legal process, provide information to a requesting law enforcement agency necessary to investigate the complaint, as determined by the law enforcement agency.
Transportation network companies shall, after being served with appropriate legal process, provide information related to an alleged criminal incident including, but not limited to, trip specific details regarding origin and destination, length of trip, GPS coordinates of route, driver identification and, if applicable, information reported to the transportation network company regarding the alleged criminal activity by a driver or passenger, to the appropriate law enforcement agency upon receipt of a specific complaint alleging criminal conduct against any transportation network company driver or passenger.