Congress hasn’t passed a law protecting children online since 1998, but a bill currently pending the Senate would require tech companies to protect minors from bullying, sexual exploitation, and material that promotes suicide and eating disorders.