42 U.S. Code § 11113. Payment of reasonable attorneys’ fees and costs in defense of suit

In any suit brought against a defendant, to the extent that a defendant has met the standards set forth under section 11112(a) of this title and the defendant substantially prevails, the court shall, at the conclusion of the action, award to a substantially prevailing party defending against any such claim the cost of the suit attributable to such claim, including a reasonable attorney’s fee, if the claim, or the claimant’s conduct during the litigation of the claim, was frivolous, unreasonable, without foundation, or in bad faith. For the purposes of this section, a defendant shall not be considered to have substantially prevailed when the plaintiff obtains an award for damages or permanent injunctive or declaratory relief.