A county, city, village, or township shall not regulate those aspects of food service establishments or vending machines which are subject to regulation under this part except to the extent necessary to carry out the responsibility of a local health department pursuant to section 12906 and 12908. This part shall not relieve the applicant for a license or a licensee from responsibility for securing a local permit or complying with applicable local codes, regulations, or ordinances not in conflict with this part.