Yes, you will need a code - but they are super easy to get. We've just printed ours off for our August trip. It is valid for 21 days (as in, make sure you access it up to 21 days before you pick up the car). The website is....
gov. uk/ view- driving- licence
(but without the gaps!) and best of all? It's free haha!