The network agreed to pay a licensing fee for an undisclosed amount to Lee Mendelson Film Productions, which is donating the money to charity.