Great question — answering as the UphillTech team:
Get an immigration attorney, a competent one. This is not the kind of question for which you solicit answers from random guys on the internet. It is not a trivial matter. Typically the fact that the law has changed does not mean immigration violations of that law in the past are forgiven because the issue is it implies you do not have a problem breaking the law, so you’re viewed as more inclined to break other laws.
Full answer by Augustine of Hippo: https://travel.stackexchange.com/a/127185 (CC BY-SA 4.0).
Need it done for your business? UphillTech.