The court on Wednesday will hear a challenge to the 1996 Defense of Marriage Act.