All contracts for the forfeiture of property subject to a lien, in satisfaction of the obligation secured thereby, and all contracts in restraint of the right of redemption from a lien, are void.
The existence of a lien upon property does not of itself entitle the person in whose favor it exists to a lien upon the same property for the performance of any other obligation than that which the lien originally secured.
One who holds property by virtue of a lien thereon, is not entitled to compensation from the owner thereof for any trouble or expense which he incurs respecting it, except to the same extent as a borrower, under Sections 1892 and 1893.