No person may use the privilege of recording notices under §§ 34-13.1-5 and 34-13.1-6 for the purpose of slandering the title to land. In any action brought for the purpose of quieting title to land, if the court finds that any person has recorded a claim for that purpose only, the court shall award the plaintiff all the costs of the action, including such attorneys' fees as the court may allow to the plaintiff, and in addition, shall decree that the defendant asserting the claim shall pay to the plaintiff all damages the plaintiff may have sustained as the result of such notice of claim having been so recorded.
R.I. Gen. Laws § 34-13.1-9