The court (or the Bureau, as the case may be) in an action or adjudication proceeding brought under Federal consumer financial law, shall have jurisdiction to grant any appropriate legal or equitable relief with respect to a violation of Federal consumer financial law, including a violation of a rule or order prescribed under a Federal consumer financial law.
Nothing in this subsection shall be construed as authorizing the imposition of exemplary or punitive damages.
In any action brought by the Bureau, a State attorney general, or any State regulator to enforce any Federal consumer financial law, the Bureau, the State attorney general, or the State regulator may recover its costs in connection with prosecuting such action if the Bureau, the State attorney general, or the State regulator is the prevailing party in the action.
The Bureau may compromise, modify, or remit any penalty which may be assessed or had already been assessed under paragraph (2). The amount of such penalty, when finally determined, shall be exclusive of any sums owed by the person to the United States in connection with the costs of the proceeding, and may be deducted from any sums owing by the United States to the person charged.