The provisions of law prohibiting the taking of any fees for services in civil cases, other than such as are allowed by law, shall apply to the taking of fees in criminal cases beyond the amount allowed by law for such services.