The total amount of damages imposed against any person under subsection (a) of this section shall be diminished by the amounts, if any, that such person may be required to disgorge, pursuant to a court order obtained at the instance of the Commission, in a proceeding brought under section
78u
(d) of this title relating to the same transaction or transactions.