Factual error: Rainwood exposes Parnell as a bent cop and as a result his conviction is quashed. That can't happen. Rainwood pleaded guilty in a plea bargain so regardless of future events he is guilty in the eyes of the law. He could appeal against the severity of his sentence but his conviction would be upheld, regardless of how unfair that is. (There have been real life incidences of this kind of thing happening).
Suggested correction: He didn't plead guilty in a plea bargain - he was found guilty that's why he got 6 years, if he'd plead guilty he'd have done a year.