This other question discusses how silvery barbs interacts with advantage and disadvantage. But there are some effects that let someone reroll a d20 without using the advantage/disadvantage mechanic, such as the Lucky feat or legendary resistances.
How does silvery barbs interact with these? For example, can I use Lucky to reroll a failure caused by silvery barbs, or use silvery barbs to force an enemy to reroll again after they use a legendary resistance to succeed? And does this change at all if the original roll had advantage or disadvantage?