See this list for who voted and how.
To contact details for them go to WriteToThem.
If they voted against, let them know that you appreciate it. My MP is Don Foster, who voted against. I've emailed him to thank him for doing so.
If your MP voted in favour, berate them for their obvious contempt for you, not just in passing this bill, but the manner of its passing.
If they didn't vote at all, ask them why they are such a spineless contemptible worm (in the nicest possible way) and ask them why you should vote for a person or party that has so much contempt for you that they couldn't be bothered to debate and vote on such a bill, and could allow it to be passed in this way. Point out that not voting in this case was tacit support for the bill and the manner in which it was passed.
Keep it clean and polite (nut-job rants will be ignored), but make it clear what you think of them and their kind.
As I pointed out to Don Foster, whatever the merits of this bill, the idea that it could be passed in this fashion just goes to show just how much contempt many politicians have for the electorate (as if we needed any more evidence).
And for christ sake, VOTE. I'm bored of people telling me they are not voting because "they are all the same". If you don't want to vote for one of the main parties, vote for an independent or a smaller party. If you don't vote at all then they don't care about you, it doesn't work as a protest.
"In a democracy, the people get the government they deserve" - Alexis de Tocqueville/Hunter S Thompson (and various others, take your pick).