46-23-510. Expungement of records on reversal of conviction. Upon final reversal of a conviction of a sexual or violent offense, the sentencing court shall order the expungement of any records kept by a court, law enforcement agency, or other state or local government agency under this part.