Record number of amicus briefs filed in same-sex marriage cases