A UAE presidential adviser said rebuilding trust with Iran after attacks on Gulf states will take years.