It matters because string theory proposes that there exists these small dimensions and that gravity exists within these dimensions. So gravity cannot obey inverse square law precisely if this is true. You could perhaps argue that these dimensions exist but gravity doesn't propagate through them, but then it's not a quantum theory of gravity.