The deal is expected to close on Jan. 22, ensuring the popular social video platform can continue operating in the United States.