Other than a sign for their owners, is there anything I can do to discourage the neighborhood dogs from urinating on my lawn & sidewalk verge? I have considered using cayenne pepper, but I feel like that could do unintentional harm rather than simply being an irritant/annoyance to the animals, so I would rather not. (I do use cayenne and red pepper flake to deter squirrels from digging up & eating fall bulbs/rhizomes, but squirrels are wild animals not pets.)

Both areas now have wilted/yellow spots and it took me a little bit of time to make the connection between the dogs' pee and the lawn damage. Fortunately, it's limited to single areas, but it's a little annoying. At least it's no longer feces; that dog's owner must have moved away.

Also, is there anything I can do to limit or reverse the damage?