Legislators seek compromise on bill some fear could weaken government transparency