Sections 523 and 524 of this title shall not be construed to apply to a mortgage which has been foreclosed, or upon which a suit has been commenced for foreclosure before the application for the order of redemption or sale is made, nor to any other lien arising upon judgment or decree given against the deceased in his lifetime.