It doesn't, this privilege is very limited, see this Wikipedia extract:
In the United Kingdom, it allows members of the House of Lords and House of Commons to speak freely during ordinary parliamentary proceedings without fear of legal action on the grounds of slander, contempt of court or...