; and (B) means the Department of Housing and Urban Development, the Department of Justice, and the Rural Housing Service of the Department of Agriculture. (2) The term settlement agreement means a settlement agreement resolving a civil action or potential civil action, a plea agreement, a deferred prosecution agreement, or a non-prosecution agreement. (3) The term payment means a payment or loan. (4) The term payment to any person who is not a victim means any payment other than a payment— (A) to a person who is party to the lawsuit or settlement; (B) that provides restitution for or otherwise directly remedies actual harm (including to the environment) directly and proximately caused by the party making the payment as a result of that party’s alleged wrongdoing; (C) that constitutes payment for services rendered in connection with the case