SECTION 1. Section 697.335 is added to the Code of Civil Procedure, to read:
697.335. (a) If the judgment debtor defaults on a deed of trust or mortgage on real property, the trustee or mortgagee shall satisfy any existing judgment liens filed by a public utility of any city, county, or city and county prior to sale of the real property.
(b) For purposes of this section judgment liens include those liens filed in accordance with the provisions of Section 54354 of the Government Code and Section 5473.11 of the Health and Safety Code.