The following persons and entities shall not be subject to criminal or civil liability for injury caused when donating, accepting, or dispensing prescription drugs in compliance with this division:
(a) A prescription drug manufacturer, wholesaler, governmental entity, county-owned or county-contracted licensed pharmacy, or skilled nursing facility.
(b) A pharmacist or health care professional who accepts or dispenses prescription drugs.