The Secretary of Housing and Urban Development and the Director of the Bureau, in consultation with the Federal agencies responsible for regulation of banking and financial institutions involved in residential mortgage lending and servicing, shall establish and maintain a database of information on foreclosures and defaults on mortgage loans for one- to four-unit residential properties and shall make such information publicly available, subject to subsection (e).