Prosecutors have power to prosecute, not the "right" to prosecute. The evolving history of individual rights is a response to the even longer history of abuses of those powers by little people that get big jobs.
Ortiz and Heymann abused their power and abused Aaron's rights. They should be in jail, not getting a paycheck from taxpayers.