If you bought an old phone on the used marketplace, it might not be safe to use. Here's how to protect yourself.