No person related to any judge of any court by affinity or consanguinity within the degree of first cousin, shall be appointed by such court or judge to, or employed by such court or judge in any office or duty in any court of which such judge may be a member.