In addition to the duties prescribed by sections 58.010, 58.020, 58.060, 58.090, 58.160, 58.375, 58.451, 58.455 and 58.700 to 58.765 the medical examiner shall perform those duties and functions prescribed by law for coroners which are not in conflict with the provisions of sections 58.010, 58.020, 58.060, 58.090, 58.160, 58.375, 58.451, 58.455, and 58.700 to 58.765; except that, the medical examiner shall not perform any duty of the sheriff. The duties of the sheriff which are prescribed by law for coroners shall be performed by the prosecuting attorney in all counties in which there is a medical examiner.