In any proceedings relating to nonsupport or family desertion the laws attaching a privilege against the disclosure of communications between spouses or domestic partners shall be inapplicable and both spouses or domestic partners in such proceedings shall be competent witnesses to testify to any relevant matter, including marriage, domestic partnership, and parentage.