(a) A material or complaining witness in any contested prosecution shall appear at the session at which the prosecution is docketed. The prosecution may be dismissed if the material witness fails to appear. (b) Any person who has been subpoenaed as a witness before the Municipal Court, may, in the discretion of the Sheriff, be required to give bond or be released on their own recognizance with good security or a cash bond or collateral, conditioned to appear and testify before the municipal court in the case in which the witness has been subpoenaed.