They changed the law for only one reason. To get Trump. The new law is only in effect for one year.
From Vox:
“ The prosecution’s argument rested on untested legal theories, not absurd ones. Contrary to the claims of prominent Republicans, Trump’s conviction does not prove that Democrats will stop at nothing to persecute their political adversaries. Rather, it proves that if a man perpetrates a wide variety of frauds over the course of decades — and routinely advertises his contempt for the rule of law — prosecutors may aggressively scrutinize the legality of his business records and get a bit creative in holding him legally accountable.”
“ Even if Trump were guilty, the statute of limitations on his offense has already expired. The statute of limitations on misdemeanor business records falsification is two years; for the felony version, it’s five years.
Trump committed his alleged offense in 2017. But New York law holds that the clock on its statute of limitations stops when a defendant is “continuously” outside of the state. Therefore, it is plausible that the years Trump spent primarily in the White House and Mar-a-Lago do not count against the clock.
Still, even under this interpretation, Syracuse University law professor Gregory Germain argues that two years have certainly passed since Trump allegedly falsified records related to his hush money payment. In Germain’s view, it “is not clear whether the felony can stand when the misdemeanor is time barred” because the “felony statute requires showing that the misdemeanor was committed, since the felony is really a penalty enhancement on the misdemeanor.”