Pg 444 of the Adventurers Guide defines an "attack roll" as the d20 roll plus all relevant modifiers (see attached), not just the physical roll. Ability check is likewise defined on PG 401(d20 + modifiers).
To me, that says Cunning Words modifies what most would call the total, not the raw...