Cal. Penal Code § 466.8
(a) Any person who knowingly and willfully makes a key capable of opening any door or other means of entrance to any residence or commercial establishment for another by any method involving an onsite inspection of such door or entrance, whether or not for compensation, shall obtain, together with the date the key was made, the street address of the residence or commercial establishment, and the signature of the person for whom the key was made, on a work order form, the following information regarding the person requesting or purchasing the key:
(5) Driver’s license number or identification number, if any.
A copy of each such work order shall be retained for two years and shall be open to inspection by any peace officer or by the Bureau of Collection and Investigative Services during business hours or submitted to the bureau upon request.
Any person who violates any provision of this subdivision is guilty of a misdemeanor.