Amends the Internal Revenue Code to exclude from gross income gain from the sale or exchange of a qualified mortgage or mortgage-related security held for more than one year. Defines "qualified mortgage or mortgage-related security" as any residential or commercial mortgage (or any security, obligation, or other instrument that is based on or related to such a mortgage) that was originated or issued on or before March 14, 2008, and was acquired by the taxpayer after the enactment of this Act and before January 1, 2009.