If the person entitled to the lien provided in Section 3051 is not paid the amount due, and for which such lien is given, within 10 days after the same shall have become due, then such lienholder may proceed to sell such property, or so much thereof as may be necessary to satisfy such lien and costs of sale at public auction, and by giving at least 10 days' but not more than 20 days' previous notice of such sale by advertising in some newspaper published in the county in which such property is situated; or if there be no newspaper printed in such county, then by posting notice of sale in three of the most public places in the town and at the place where such property is to be sold, for 10 days previous to the date of the sale; provided, however, that within 20 days after such sale, the legal owner may redeem any such property so sold to satisfy such lien upon the payment of the amount thereof, all costs and expenses of such sale, together with interest on such sum at the rate of 12 percent per annum from the due date thereof or the date when the same were advanced until the repayment. The proceeds of the sale must be applied to the discharge of the lien and the cost of keeping and selling the property; the remainder, if any, must be paid over to the legal owner thereof.
Ca. Civ. Code § 3052