The prevailing party in any litigation seeking to enforce the cause of action granted in § 62-13-502 or in seeking to recover damages or other relief for the wrongful refusal or failure to release the notice as required by § 62-13-503(f) shall be entitled to recover attorney fees and court costs incurred by reason of the litigation from the nonprevailing party.