Cal. Gov't Code § 54988
(a)
(1) In addition to any other remedy provided by law, including the current powers of charter cities, the legislative body of a city, county, or city and county may collect any fee, cost, or charge incurred in any of the following:
(G) Inspections and abatement related to local ordinances and regulations that implement any of the foregoing.
If the fee, cost, or charge has not been paid within 45 days of notice thereof, the city, county, or city and county may collect the fee, cost, or charge by making the amount of the unpaid fee, cost, or charge a proposed lien against the property that is the subject of the enforcement activity.
Except as provided in subdivision (c), the amount of the proposed lien may be collected at the same time and in the same manner as property taxes are collected. All laws applicable to the levy, collection, and enforcement of ad valorem taxes shall be applicable to the proposed lien, except that if any real property to which the lien would attach has been transferred or conveyed to a bona fide purchaser for value, or if a lien of a bona fide encumbrancer for value has been created and attaches thereon, prior to the date on which the first installment of taxes would become delinquent, then the lien that would otherwise be imposed by this section shall not attach to real property and the costs of enforcement relating to the property shall be transferred to the unsecured roll for collection.
(b)