In the event the office of sheriff of Gwinnett County becomes vacant by death, resignation, or otherwise, the vacancy shall be filled until the next general election by the chief judge of Gwinnett County. Such appointment shall in such event enter upon the performance of said duties upon taking the oath of office prescribed by law for the sheriff of Gwinnett County.