48. All agreements, settlements, and deeds entered into or executed by the parties to any such marriage in contemplation of, or before, or after, or in relation to, such marriage shall be absolutely void, and have no force or effect so far as the same shall be inconsistent with the provisions of the security and settlement made by the court as aforesaid. *Settlements and agreements in regard to such marriage void.*