All mortgages, deeds of trust, and other liens of any nature, hereafter contracted, placed or incurred upon property which has been and was at the time of the creation or placing of the lien, dedicated as a cemetery pursuant to this part, or upon property which is afterwards, with the consent of the owner of any mortgage, trust deed, or lien, dedicated to cemetery purposes pursuant to this part, shall not affect or defeat the dedication, but the mortgage, deed of trust or other lien is subject and subordinate to such dedication and any and all sales made upon foreclosure are subject and subordinate to the dedication for cemetery purposes.
Ca. Health and Saf. Code § 8351