Nothing in this chapter shall be construed to legalize the enforcement of provisions described in section
3501 of this title in trademark licensing contracts or agreements described in that section by means of price fixing agreements, horizontal restraints of trade, or group boycotts, if such agreements, restraints, or boycotts would otherwise be unlawful.