12 U.S. Code § 3761 - Foreclosure costs
The following foreclosure costs shall be paid from the sale proceeds before satisfaction of any other claim to such sale proceeds:
(1) Advertising and postage
(3) Title and lien search
Reasonable and necessary costs incurred in connection with any search of title and lien records.