Hello Anna - thanks for contacting me. I've been busy trying to figure out my Perez-Granillo line and am a current stand still. Now the De La Riva's are also interesting to me but I haven't done a lot of research on them in a long time. I did find some of them in these links on Spanish soldiers:http://www.w3r-us.org/history/rosters/rostersp.htm#refshttp://www.lib.utexas.edu/taro/utlac/00083/lac-00083p1.html
I definitely have Payan and Prieto in my family tree from the early 1700's - I'm going to have to check the names. I believe i might have their descendants but I'll have to check when I get a moment.
I don't have my notes with me right now but San Pedro de Gallo Durango is important. It showed up in one of my De La Riva ancestor's parish records. I couldn't read that parish record at first but eventually figured it out.
As I remember, the De La Riva's were all heavily involved in militarily and Sonora was an important Spanish military outpost. I've traced several ancestors to Sonora including the Granillo's. I create google maps showing their movement whenever I find a birth or marriage parish record.
I think we share a couple of family lines going very far back. I will have to go look at my notes but I know that San Pedro de Gallo is very important and it was a major stumbling block for me going any further. I'm in the middle of a project at work so I'll try and get back to you soon.