foil
Definitions
A thin sheet of metal used to wrap or cover food or other items.
A character who contrasts with another character to highlight particular qualities of the other.
To prevent something considered wrong or undesirable from succeeding.
Examples
The detective managed to foil the thief's attempt to steal the diamond.
She wrapped the leftover sandwich in aluminum foil to keep it fresh.