All written agreements entered into prior to the enactment of this chapter between prospective spouses for the purpose affecting any of the subjects specified in § 20-150 shall be valid and enforceable if otherwise valid as contracts.
1985, c. 434; 1986, c. 201.