If any collector or deputy collector, or any inspector or other officer acting under the authority of any revenue law of the United States, divulges to any party, or makes known in any other manner than may be provided by law, the operations, style of work, or apparatus of a manufacturer or producer visited by him in the discharge of his official duties, he shall be subject to a fine of not exceed