(2) No provision of law prohibiting the disclosure of confidential communications between spouses in a marriage apply to prosecutions for criminal nonsupport. A spouse is a competent and compellable witness for or against either party. [1971 c.743 §176; 2015 c.629 §30; 2017 c.651 §36]