Any person denied a firearm pursuant to subsection (s) or (t) of section
922—
may bring an action against the State or political subdivision responsible for providing the erroneous information, or responsible for denying the transfer, or against the United States, as the case may be, for an order directing that the erroneous information be corrected or that the transfer be approved, as the case may be. In any action under this section, the court, in its discretion, may allow the prevailing party a reasonable attorney’s fee as part of the costs.