Sinn Féin’s Kathleen Funchion said the legislation would prevent another controversy like the one that followed the Mother and Baby Home Commission.