Cal. Gov't Code § 66499
(a) Whenever this division or a local ordinance authorizes or requires the furnishing of security in connection with the performance of any act or agreement, if the developer is not a nonprofit corporation described in subdivision (c) of Section 66499.3, the security shall be one of the following at the option of and subject to the approval of the local agency and if the developer is a nonprofit corporation described in subdivision (c) of Section 66499.3, the security shall be one of the following, subject to the approval of the local agency:
(b) Any contract or security interest in real property entered into as security for performance pursuant to paragraph (4) or paragraph (5) of subdivision (a) shall be recorded with the county recorder of the county in which the subject real property is located. From the time of recordation of the written contract or document creating a security interest, a lien shall attach to the real property particularly described therein and shall have the priority of a judgment lien in an amount necessary to complete the agreed to improvements. The recorded contract or security document shall be indexed in the Grantor Index to the names of all record owners of the real property as specified on the map and in the Grantee Index to the local agency approving the map.
The local agency may at any time release all or any portion of the property subject to any lien or security interest created by this subdivision or subordinate the lien or security interest to other liens or encumbrances if it determines that security for performance is sufficiently secured by a lien on other property or that the release or subordination of the lien will not jeopardize the completion of agreed upon improvements.