A charge or incumbrance upon any real or personal estate for the purpose of securing the payment of money or the performance of any covenant or agreement shall not be deemed a revocation of any will relating to the same estate previously executed. The devises and legacies therein contained shall pass and take effect subject to such charge or incumbrance.