It should be the same since B7 is mostly a B6 facelift (exterior and cosmetics upgrades).
From my B7 (8EC) 2007 I've found speed in these frames.
Cid #280 (8bytes) engine bus
B0 - pedal states
B1 - RPM lsb
B2 - RPM msb
B3 - Kmh (speed)
B4 - pedal state in %
B5 -
B6 - torque ?
B7 -
Cid #320 (8bytes) engine bus
B3 - kmh
The calculation for RPM is:
Speed and RPM can however be found in other CID's as well but these are the most priority ones since they are sent directly from ECU.