An amendment in a state Senate bill that would have allowed bosses to ask for a worker’s password to Facebook or other social media during company investigations has been withdrawn.

The amendment was proposed on Tuesday for a bill that safeguards social-network passwords of workers and job applicants. That measure bars employers from asking for social-media credentials during job interviews. On Wednesday, House Labor and Workforce Development Committee chairman Rep. Mike Sells, D-Everett, withdrew the amendment. He had introduced it at the behest of business groups, who say the amendment would open an avenue for possible illegal activity by employees, such as divulging proprietary or consumer information to outsiders.

Sells says lawmakers will continue to tweak the bill’s language to address concerns by business groups.