Section 5H. (1) All money recovered by the commonwealth, as a result of actions brought by the attorney general or a person pursuant to sections 5B to 5O, inclusive, other than costs and attorney’s fees awarded pursuant to paragraph (2), shall be credited by the state treasurer to the False Claims Prosecution Fund, established by section 2YY of chapter 29.

(2) Costs and attorney’s fees awarded to a relator by final judicial order in an action under this section shall be paid directly by the defendant to the relator.