Covering your guacamole with sour cream certainly work as well, the lactic acid within might help (although seeing as sour cream is not really all that acidic, it is probably a pretty minor role), but this effect comes mostly from the fact that you are covering it, so that it is not exposed to air.