I don't know if you tried a search, but there's been a few threads on how to do this.
If you decide to use silicone, all you need is something that is 100% silicone.
Use some masking tape to outline where it's going to go so it looks clean and doesn't make a huge mess.
You don't have to go crazy and gob it on, just put a nice bead around. Put on a rubber glove and use your finger to
even out the silicone so it looks all pretty. Then peel the tape off before the silicone dries.
If you go with silicone you gotta post pics of the end result so we can see how you did

GT, that is a great idea about the piano string.