Doctors would face fines and up to two years in prison for performing the procedure , except as a lifesaving step .