How to keep bird away from leaving their droppings on the deck
I have great luck with a motion activated sprinkler Something like this keeps the geese out of my pool, It should work for your deck also. Cleaning the stains may take a strong deck cleaner but not knowing the type of paint I would hose it off and try a little dish soap with a scrub brush to clean it off.