Section 30. No prosecuting officer shall receive any fee or reward from or in behalf of a prosecutor for services in any prosecution or business to which it is his official duty to attend, nor shall he be concerned as counsel or attorney for either party in a civil action depending upon the same facts involved in such prosecution or business.