Notwithstanding any local law to the contrary, a sheriff is not entitled to any fee for services rendered in connection with a prosecution under the vehicle laws of this State in excess of the fees prescribed for sheriffs by § 7-402 of the Courts Article.