The Senate is expected to pass legislation Tuesday that is designed to protect children from dangerous online content, pushing forward with what would be the first major effort by Congress in decades to hold tech companies more accountable for the harm that they cause.