In example 1, "could" is being used to describe an ability in the past. The person was able to help, and they are happy about it. Let's consider a conversation:
I need to exchange this thing for a new one.
I can help you. Here is a new one.
Thank you. You have helped me.
I'm happy I could help.
"I can help" is present tense, indicating that they are able to help right now. "I could help" is just that switched to past tense.
Because "could" is also used in the conditional case it is possible to mistake the meaning of "could". "I could help you" on its own might be about the past, but is normally used for the conditional. Therefore you will rarely find it used to indicate the past, unless the context makes it clear that it means that. Putting it in this kind of clause is a good way of indicating that. But you can also use "could" in other ways.
"When I was younger I could drive a car, but now my eyesight is poor and I cannot."
Example 2 is also correct.
So, why is it being used here? Is it because it is in a subordinate clause?
If you saw this sentence, which it seems you did, you must tell us where.