(b) The commissioner may by regulation provide that every driver's license contain the photo image of the licensee. The learner's permit may also contain the photo image of the permittee pursuant to regulations established by the commissioner. 2. Whenever an applicant for a license has successfully met the requirements for the issuance of a license, the license issued by the commissioner may be a temporary license which shall be valid until the license provided in subdivision one of this section is issued or until forty-five days from the date such temporary license is issued, whichever occurs first. The commissioner may in his discretion extend the period of validity of such temporary license. Such temporary license shall be in such form as the commissioner shall determine. 3. Notwithstanding any other provision of law, any photo image taken as part of the application procedure for a learner's permit or an original, duplicate, renewal or amended driver's license shall not be a public record.