Payments helped AT&T obtain key legislative wins in Illinois, prosecutors say.