Activists claimed that the law could have exposed volunteers helping migrants at the Belarus border to up to three years in prison.