Privacy Protection through Anonymity in Location-based Services