Can an Elven Samurai still benefit from Elven Accuracy if it uses Rapid Strike?
Elven Accuracy
[...]
Whenever you have advantage on an attack roll using Dexterity, Intelligence, Wisdom, or Charisma, you can reroll one of the dice once.
.
Rapid Strike
... If you take the attack action on your turn and have advantage on an attack roll against one of the targets, you can forgo the advantage for that roll to make an additional weapon attack against that target
If I forgo advantage, can I still roll the other die from Elven Accuracy? Consider that they both activate from having advantage on the attack.