For the purposes of this code and any legislation hereafter enacted by the legislature or by the people, with the exception of chapter
26.04 RCW, the terms spouse, marriage, marital, husband, wife, widow, widower, next of kin, and family shall be interpreted as applying equally to state registered domestic partnerships or individuals in state registered domestic partnerships as well as to marital relationships and married persons, and references to dissolution of marriage shall apply equally to state registered domestic partnerships that have been terminated, dissolved, or invalidated, unless the legislation expressly states otherwise and to the extent that such interpretation does not conflict with federal law. Where necessary to implement chapter 521, Laws of 2009 and chapter 3, Laws of 2012, gender-specific terms such as husband and wife used in any statute, rule, or other law shall be construed to be gender neutral, and applicable to individuals in state registered domestic partnerships and spouses of the same sex.