(a) In addition to the punishment authorized by the specific statute prohibiting the conduct, it is a part of the punishment for any offense committed in this state that the person committing the offense may be sentenced by the court to pay restitution to the victim or victims of the offense in accordance with §§ 40-35-104(c)(2) and 40-35-304.
(b) In addition to the punishment authorized by the specific statute prohibiting the conduct, it is a part of the punishment for the offenses named in this subsection (b) that the defendant be sentenced by the court to pay restitution to the victim or victims of §§ 39-13-309, 39-13-514, 39-17-1005(a), 39-13-528(a), and 39-13-529(a) in accordance with §§ 40-35-104(c)(2) and 40-35-304.