The following actions shall be taken in order to verify title in the purchaser at the foreclosure sale:
(A) In the case of a judicial foreclosure in any Federal or State court, there shall be included in the petition and in the judgment of foreclosure a statement that the foreclosure is in accordance with this subsection and that there is no right of redemption in the mortgagor or any other person.
(B) In the case of a foreclosure pursuant to a power of sale provision in the mortgage, the statement required in subparagraph (A) shall be included in the advertisement of the sale and either in the recitals of the deed or other appropriate instrument conveying title to the purchaser at the foreclosure sale or in an affidavit or addendum to the deed.