(a) An employer shall not be liable for injuries to passengers and other persons resulting from the operation or use of a motor vehicle, not owned, leased, or contracted for by the employer, in a ridesharing arrangement unless the employee operating the motor vehicle is also on an errand or performing some task or function for the employer.
(b) An employer shall not be liable for the injuries to passengers and other persons because it provides information, incentives or otherwise encourages its employees to participate in ridesharing arrangements. If the employer provides information, incentives, or otherwise encourages its employees to participate in ridesharing arrangements, the employer shall inform its employees that they will not be covered by the workers' compensation laws while participating in such arrangement unless while participating they perform some task or errand for the employer.