No district judge or county judge within this state shall engage in the business of abstracting nor be interested directly or indirectly in any company or corporation which is engaged in the business of abstracting while holding office. Any certification of an abstract of title by a judge in violation of this section shall be void.