Veterans say the decadeslong wars in Iraq and Afghanistan hold key lessons for US military action in Iran.