A judgment shall not be rendered in favor of the plaintiff in any action brought against the department to recover any amount paid when the action is brought by or in the name of an assignee of the person paying the amount or by any person other than the person who paid the amount.