Under the legislation , a physician who performed the procedure could face up to two years in prison .