Advertising software company Viant Technology Inc. has hired a new chief legal officer and deputy general counsel who previously worked together in the legal department for a rival ad-tech firm.