(5) When any case is transferred to another county under this section all taxable costs in such case shall be taxed to the county in which the case originated and such county shall be liable for the payment thereof.
The provisions of this section shall apply only to the prosecution of trials and shall not be applicable to preliminary proceedings.