; (ii) prejudgment interest on the amount described in clause (i) from the date the amount was due until the date of judgment, calculated at a rate of 6 percent per year, compounded annually; and (iii) any other appropriate relief necessary to enforce rights under the covered policy. (B) Treble damages If a court finds that an insurer or related company of the insurer acted in bad faith, the court shall award damages in an amount equal to 3 times the amount otherwise to be awarded under subparagraph (A). (2) Attorney’s fees and costs A court shall award reasonable attorney’s fees and costs to a prevailing beneficiary in a civil action brought under subsection (a). (d) Limitation A civil action may not be brought under this section on or after the date that is 10 years after the date of enactment of this Act. 5. Effect of prior judgments and releases (a) In general (1) Effect Subject to subsection (b)(1), a judgment or release described in paragraph (2) shall not preclude, foreclose, bar, release, waive, acquit, discharge, or otherwise impair any claim brought under section 4 by any person. (2) Judgments and releases A judgment or release described in this paragraph is— (A) a judgment entered before the date of enactment of this Act for any claim arising under a covered policy in any civil action in a Federal or State court; or (B) an agreement entered into before the date of enactment of this Act under which any person (on behalf of the person, any other person, or a class of persons) agrees not to assert or agrees to waive or release any claim described in subparagraph (A), regardless of whether the agreement is— (i) denominated as a release, discharge, covenant not to sue, or otherwise