I am not sure the impact practically or legally, but obviously lawyer's can advise these businesses (even in the recreational realm) in these states, so maybe pivot your software as legal service software, license it to law firms and have them re-license it to their own clients. Sucks to inject an otherwise unnecessary middleman into the equation, but you already have that with payment processors, banks, card issuers, ect...