An act evidencing a mortgage or privilege imports a confession of judgment when the obligor therein acknowledges the obligation secured thereby, whether then existing or to arise thereafter, and confesses judgment thereon if the obligation is not paid at maturity.