(a) In this section, “undisputed amounts” includes any retention proceeds that exceed the amount authorized to be retained under § 9–304 of this subtitle.
(b) In addition to any other remedy provided under any other provision of law, a court of competent jurisdiction, for good cause shown may:
(1) Award any equitable relief for prompt payment of undisputed amounts that it considers necessary, including the enjoining of further violations; and
(2) In any action, award to the prevailing party:
(i) Interest from the date the court determines that the amount owed was due; and
(ii) Any reasonable costs incurred.
(c) If a court determines that an owner, contractor, or subcontractor has acted in bad faith by failing to pay any undisputed amounts owed as required under § 9–302 of this subtitle, the court may award to the prevailing party reasonable attorney’s fees.