The chief executives of three large tech companies will defend a law protecting internet companies before a Senate panel on Wednesday, an official said.