(a) Whenever any application to the Office of Motor Vehicle is accompanied by any fee as required by law and the application is refused or rejected, the fee shall be returned to the applicant.
(b) Whenever the office through error collects any fee not required to be paid under this chapter, it shall be refunded to the person paying it upon application therefor made within six (6) months after the date of the payment.