How about making prosecutors who knowingly prosecute innocent persons do the time instead?
(Nifong, anyone? Alas, he is only one example; there are others.)
I think this is related to a laboratory returning false information, not to prosecutor malfeasance.