When a prosecuting attorney determines that prosecution of a traffic offense, or municipal ordinance involving a traffic offense, is or is not warranted, and regardless of whether a court order is entered for such offense or a referral is made to a pretrial intervention, pretrial release, pretrial diversion program, or other similar pretrial program, a prosecuting attorney may condition any other action regarding such offense upon the satisfactory completion of a defensive driving course or defensive driving program approved by the Department of Driver Services but shall not be authorized to mandate the completion of any other driving program.
OCGA § 15-18-31