A person who holds a claim to or lien upon an unpatented mining claim under a certificate of sale, mortgage, attachment, levy, judgment, or other lien, may, when necessary for the protection of the lien or claim, go upon the mining claim and perform or cause to be performed the annual labor required by law to prevent forfeiture. Before performing the labor the person shall mail a written notice of intention to perform the annual labor on the claim to the owner of the claim at the owner's last known address.