Prosecutors had alleged that David Rivera had received a secret $50 million contract to influence the first Trump administration.