Lien of mortgages of real property or fixtures; debts secured; priority
(a) Every transfer of an interest in real property or fixtures made as security for the performance of another act or subject to defeasance upon the payment of an obligation, whether the transfer is made in trust or otherwise, is to be deemed a mortgage and shall create a lien only as security for the obligation and sh…