Notwithstanding any other provision of law, a wholesaler licensed pursuant to Article 11 (commencing with Section 4160) of Chapter 9 of Division 2 of the Business and Professions Code and a drug manufacturer that is legally authorized under federal law to manufacture and sell pharmaceutical drugs may donate unused medications under the voluntary drug repository and distribution program established by a county pursuant to this division.