The new legislation comes after youth-led protests calling for sweeping reforms and forcing minister's resignation