No compensation, whether awarded or voluntarily paid, shall be paid to any attorney at law or in fact or other agent, but shall be paid directly to the claimant entitled thereto unless otherwise ordered by the appeals board. No payment made to an attorney at law or in fact or other agent in violation of this section shall be credited to the employer.