Liens created by G.S. 44-51.5 may be discharged as follows:
(1) By filing with the clerk of superior court a receipt of acknowledgment, signed by the county treasurer, that the lien has been paid or discharged;
(2) By depositing with the clerk of superior court money equal to the amount of the claim, which money shall be held for the benefit of the claimant; or
(3) By an entry in the lien docket that the action on the part of the lien claimant to enforce the lien has been dismissed, or a judgment has been rendered against the claimant in such action. (1969, c. 708, s. 4.)