(1) If a person is wrongfully deprived of benefits to which he or she is entitled under sections 52-125 to 52-159 by conduct other than that described in section 52-156:
(a) He or she is entitled to damages; and
(b) The court may make orders restraining the owner or other person, or ordering them to proceed on appropriate terms and conditions.
(2) If in bad faith a claimant records a lien, overstates the amount for which he or she is entitled to a lien, or refuses to execute a release of a lien, the court may:
(a) Declare his or her lien void; and
(b) Award damages to the owner or any other person injured thereby.
(3) Damages awarded under this section may include the costs of correcting the record and reasonable attorney's fees.